package com.pearl.nacos.config.demo.config;

import com.alibaba.cloud.nacos.NacosConfigManager;

/**
 *
 * @author TD
 * @version 1.0
 * @date 2024/4/25
 */
public class NacosConfigManagerUtils {

    private NacosConfigManagerUtils() {
    }

    private static NacosConfigManager nacosConfigManager;

    public static void init(NacosConfigManager manager) {
        NacosConfigManagerUtils.nacosConfigManager = manager;
    }

    public static NacosConfigManager getNacosConfigManager() {
        return nacosConfigManager;
    }
}
